<?php 

$out->write("");
if (__id($env, $actionform, array('count'))>0){

$out->write("<br/>");
}

$out->write("\n");
if (__id($env, $actionform, array('data', 'title_text'))){

$out->write("<h1>#data[title_text]#</h1>");
} else {

$out->write("<br/>");

$out->write("");
}

$out->write("\n");
$actionform->set('column_selection', __id($env, $actionform, array('data', 'column_selection')));

$out->write("\n");
$actionform->set('leave_space_selection', __id($env, $actionform, array('data', 'leave_space_selection')));

$out->write("\n");
if (__id($env, $actionform, array('leave_space_selection'))=="true"){

$out->write("\n	");
$actionform->set('divwidth', (100-__id($env, $actionform, array('column_selection'))+1)/__id($env, $actionform, array('column_selection')));

$out->write("\n	");
} else {

$out->write("\n		");
$actionform->set('divwidth', 100/__id($env, $actionform, array('column_selection')));

$out->write("\n	");

$out->write("\n");
}

$out->write("\n");
if (__id($env, $actionform, array('data', 'img1_href'))||__id($env, $actionform, array('data', 'img2_href'))||__id($env, $actionform, array('data', 'img3_href'))||__id($env, $actionform, array('data', 'img4_href'))||__id($env, $actionform, array('data', 'img5_href'))){

$out->write("\n		");
if (__id($env, $actionform, array('data', 'img1_htmltag'))){

$out->write("\n			<div class=\"sectionimage\" style=\"float:left;width:");
$out->write(__id($env, $actionform, array('divwidth')));
$out->write("%;margin-right:");
$out->write(((1%__id($env, $actionform, array('column_selection'))!=0&&__id($env, $actionform, array('leave_space_selection'))=="true")?"1%":"0"));
$out->write("\">\n			#data[img1_htmltag]#\n			");
if (__id($env, $actionform, array('data', 'imgdescr1_text'))){

$out->write("<div class=\"imgdescr\">#data[imgdescr1_text]#</div>");
}

$out->write("\n			</div>\n		");
}

$out->write("\n		");
if (__id($env, $actionform, array('data', 'img2_htmltag'))){

$out->write("\n			<div class=\"sectionimage\" style=\"float:left;width:");
$out->write(__id($env, $actionform, array('divwidth')));
$out->write("%;margin-right:");
$out->write(((2%__id($env, $actionform, array('column_selection'))!=0&&__id($env, $actionform, array('leave_space_selection'))=="true")?"1%":"0"));
$out->write("\">\n			#data[img2_htmltag]#\n			");
if (__id($env, $actionform, array('data', 'imgdescr2_text'))){

$out->write("<div class=\"imgdescr\">#data[imgdescr2_text]#</div>");
}

$out->write("\n			</div>\n		");
}

$out->write("\n		");
if (__id($env, $actionform, array('data', 'img3_htmltag'))){

$out->write("\n			<div class=\"sectionimage\" style=\"float:left;width:");
$out->write(__id($env, $actionform, array('divwidth')));
$out->write("%;margin-right:");
$out->write(((3%__id($env, $actionform, array('column_selection'))!=0&&__id($env, $actionform, array('leave_space_selection'))=="true")?"1%":"0"));
$out->write("\">\n			#data[img3_htmltag]#\n			");
if (__id($env, $actionform, array('data', 'imgdescr3_text'))){

$out->write("<div class=\"imgdescr\">#data[imgdescr3_text]#</div>");
}

$out->write("\n			</div>\n		");
}

$out->write("\n		");
if (__id($env, $actionform, array('data', 'img4_htmltag'))){

$out->write("\n			<div class=\"sectionimage\" style=\"float:left;width:");
$out->write(__id($env, $actionform, array('divwidth')));
$out->write("%;margin-right:");
$out->write(((4%__id($env, $actionform, array('column_selection'))!=0&&__id($env, $actionform, array('leave_space_selection'))=="true")?"1%":"0"));
$out->write("\">\n			#data[img4_htmltag]#\n			");
if (__id($env, $actionform, array('data', 'imgdescr4_text'))){

$out->write("<div class=\"imgdescr\">#data[imgdescr4_text]#</div>");
}

$out->write("\n			</div>\n		");
}

$out->write("\n		");
if (__id($env, $actionform, array('data', 'img5_htmltag'))){

$out->write("\n			<div class=\"sectionimage\" style=\"float:left;width:");
$out->write(__id($env, $actionform, array('divwidth')));
$out->write("%;margin-right:");
$out->write(((5%__id($env, $actionform, array('column_selection'))!=0&&__id($env, $actionform, array('leave_space_selection'))=="true")?"1%":"0"));
$out->write("\">\n			#data[img5_htmltag]#\n			");
if (__id($env, $actionform, array('data', 'imgdescr5_text'))){

$out->write("<div class=\"imgdescr\">#data[imgdescr5_text]#</div>");
}

$out->write("\n			</div>\n		");
}

$out->write("\n		");
if (__id($env, $actionform, array('data', 'img6_htmltag'))){

$out->write("\n			<div class=\"sectionimage\" style=\"float:left;width:");
$out->write(__id($env, $actionform, array('divwidth')));
$out->write("%;margin-right:");
$out->write(((6%__id($env, $actionform, array('column_selection'))!=0&&__id($env, $actionform, array('leave_space_selection'))=="true")?"1%":"0"));
$out->write("\">\n			#data[img6_htmltag]#\n			");
if (__id($env, $actionform, array('data', 'imgdescr6_text'))){

$out->write("<div class=\"imgdescr\">#data[imgdescr6_text]#</div>");
}

$out->write("\n			</div>\n		");
}

$out->write("\n		");
if (__id($env, $actionform, array('data', 'img7_htmltag'))){

$out->write("\n			<div class=\"sectionimage\" style=\"float:left;width:");
$out->write(__id($env, $actionform, array('divwidth')));
$out->write("%;margin-right:");
$out->write(((7%__id($env, $actionform, array('column_selection'))!=0&&__id($env, $actionform, array('leave_space_selection'))=="true")?"1%":"0"));
$out->write("\">\n			#data[img7_htmltag]#\n			");
if (__id($env, $actionform, array('data', 'imgdescr7_text'))){

$out->write("<div class=\"imgdescr\">#data[imgdescr7_text]#</div>");
}

$out->write("\n			</div>\n		");
}

$out->write("\n		");
if (__id($env, $actionform, array('data', 'img8_htmltag'))){

$out->write("\n			<div class=\"sectionimage\" style=\"float:left;width:");
$out->write(__id($env, $actionform, array('divwidth')));
$out->write("%;margin-right:");
$out->write(((8%__id($env, $actionform, array('column_selection'))!=0&&__id($env, $actionform, array('leave_space_selection'))=="true")?"1%":"0"));
$out->write("\">\n			#data[img8_htmltag]#\n			");
if (__id($env, $actionform, array('data', 'imgdescr8_text'))){

$out->write("<div class=\"imgdescr\">#data[imgdescr8_text]#</div>");
}

$out->write("\n			</div>\n		");
}

$out->write("\n");
}

$out->write("\n<div style=\"clear:both\"></div>");

?>